package common.core.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.util.List;

/**
 * 项目excel文件导入/导出父项目的配置实体
 *
 * @author xhl
 */
@Data
@ToString(callSuper = true)
@Accessors(chain = true)
@ExcelTarget("projectImportSuperEntity")
public class ProjectImportSuperEntity extends ProjectEntity {

    @Excel(name = "项目检索编号", needMerge = true, orderNum = "0")
    private String projectNumber;

    @ExcelCollection(name = "实验子项目", orderNum = "5")
    private List<ProjectImportSonEntity> projectImportSonEntityList;
}
